Latest Questions

how to combine ADRESH and ADRESL on 12 bit ADC

MICRO: PIC18LF47K42 compiler: XC8 application: MPLABX Hi, im trying to combine the values in my 12 bit ADC. they go into ADRESH and ADRESL. my ADC is set up for

Visual Studio 2022 C++ standard libraries could not be found

I installed the visual studio 2022 community edition with a C++ Desktop development packageScreenshot of Visual Studio Installer. When a new console application

OpenAI Gym - Env.Render() function returning "Display surface quit"

A screenshot of my code with error I am following the tutorial seen at https://www.youtube.com/watch?v=7SVv07QXO5M&ab_channel=HackersRealm The exact code I

Spring boot mongodb QuerydslPredicateExecutor ClassNotFoundException: com.querydsl.mongodb.document.MongodbDocumentSerializer

I'm trying to use QuerydslPredicateExecutor. Here is my repository interface: public interface ProductsRepository extends MongoRepository<Product, String

Django hot reload only working on certain files

I have this weird issue where not all file edits are being picked up by the hot reloader for Django. I have this structure: / app/ ... apps in here. config/

set knockout.js value programatically from "outside"

I am brand new to knockout.js - I have taken over an existing app written in it, the previous maintainers having left - and I want to start by writing tests tha

Is there a way of comparing 2 variables in a grid like way instead of nested if statements?

I am dealing with a prisoners paradox type problem where there are multiple combinations (2x2 -> 4) and each has a different result. Is there a good way of l

CFG for L = {a^mb^nc^k: k = m×n}

Can we write CFG for this language? I searched multiple websites but I couldn't find any answers.

Is it possible to remove title underneath iOS home screen widget?

Many users ask me, can you remove title underneath the widget? But as per Apple's design guidelines, we can't keep the app name empty or remove the home screen

Trying to perform setcap from Qt program

I'm trying to perform setcap from Qt program this way: QProcess process; QString command = "cat"; QStringList args; args << _fileName; process.start(comm

How do I change this recursive approach to iterative approach?

This is a game function from pygame. If user press left (pygame.KEYDOWN.K_LEFT), angle -= 1. Else if user press right (pygame.KEYDOWN.K_RIGHT), angle += 1. 'Eve

Apple developer rejects my application in Test Flight

After pushing the application to test flight, I added a MobileTest Developer to check the app in test flight, but the application has been rejected in the Apple

How to import existing lambda from arn and add SQS as event source? Amplify

I'm trying to create an SNS topic that an SQS queue subscribes to which acts as an event source for a Lambda function. I'm trying to do this with the amplify cd

NumPy Slicing HackerRank

I have wrote a function named array_slice which gets four numbers n, n_dim, n_row, n_col from the user and performs array operations given below. Instructions:

After click view not display on screen if I set visibility to VISIBLE - Android

I got a view and in xml it is visible <LinearLayout android:id="@+id/container" android:layout_width="match_parent" android:layout_height="wrap_c

Error when set sameSite from strict or lax to none - HTTP only cookie - ExpressJS

I am running on a MERN stack project. Back-end runs on port 5000, and front-end runs on port 3000. After I've built to production, I pushed the server file to H

Issue with flexbox / gap in Bootstrap website under breadcrumbs

I got an issue with one of my pages based on Bootstrap which I do not really understand. We added recently breadcrumbs (also BS) for navigation, but on some pag

How to make agents wait for capacity to open up before moving?

I have each work cell set up as a Service with capacities set to 1 and delay times are based off of time studies from the floor. Currently, the agents wait for

strconv.ParseInt fails if number starts with 0

I'm currently having issues parsing some numbers starting with 0 in Go. fmt.Println(strconv.ParseInt("0491031", 0, 64)) 0 strconv.ParseInt: parsing "0491031":

R 4.2.0 doesn't start in RStudio (Windows 11)

R 4.2.0 does not start in RStudio. Attached is the screenshot. It says, "The R session process exited with code - 1073740791" R 4.2.0 starts normally outside RS

How do I import flask while using pipenv, I am running into a 'module not found' error

I have installed flask using pipenv but when trying to import, I'm running into an error yet the import is listed in the Pipfile. What might be the issue?

send "&" in url angular

I'm using the Angular version 12 I want to send the following object in query params: { dynamicQueryOperators: 6&dynamicQueryOperators=8 } But in the end

Flutter onPressed link instagram profile url with http

How can i use my api instagram link field, when I click it, it will open the instagram page or any url? now my widget variable giving this error The argument ty

Android: Check if my app is allowed to run background activities

I have an app that runs a stopwatch service, and I run the service in the foreground. I have a notification showing the timer, that updates each second. The not

Using 11ty as CMS for backend system

Not 100% sure if this is possible but the goal is to have a single point of entry (naked domain https://example.com) for entire system Backend/application (load

How to multiply three "big numbers" and then divide them by 100 in emu8086?

My class actually has no idea how to use assembly as all we had learned from the past few months is Java, and we were suddenly tasked to do this activity. Pleas

Update the first chart in vue-chartjs

I am having two pie charts, but changes applies only to the last one even if they have different canvas id here is the html code I used to add them <Pie :c

Why doesn't rustc infer the type based on std trait implementations?

Consider the following code: use std::net::IpAddr; pub struct Server { host: IpAddr } impl Server { fn new(host: IpAddr) -> Self { Self {ho

How can we trigger a parameterised jenkins release job manually (it takes Pull request ID) only if Pull request build job was successful?

I have setup a jenkins pipeline job which gets triggered whenever a new Pull request arrives on my github repository main branch (this job builds and run tests

Why aws s3 sync <source> <target> --delete doesn't delete folder that is in the target folder and not on the source folder

Please I would like to know: Why aws s3 sync --delete doesn't delete folder that is in the target folder and not on the source folder? Here an example: I use